#include "PauseProcess.h"

//------------------------------------------------------------------------------------
PauseProcess::PauseProcess(const unsigned long breakTime)
{
	mlBreakTime = breakTime;
}
//------------------------------------------------------------------------------------
PauseProcess::~PauseProcess(void)
{
}
//------------------------------------------------------------------------------------
void PauseProcess::update(const unsigned long elapsedTime)
{
	if (elapsedTime >= mlBreakTime)
	{
		kill();
		return;
	}

	mlBreakTime -= elapsedTime;
}
